
import request from '@/network/index'


// 收藏api
export function getPropertyCollectionList(query) {
  return request({
    url: '/api/propertyCollection/list',
    method: 'get',
    params: query
  })
}

// 交易api
export function getAuctionEnrollList(query) {
  return request({
    url: '/api/auctionEnroll/list',
    method: 'get',
    params: query
  })
}


// 消息api
// 获取新消息
export function getNewNotice() {
  return request({
    url: '/api/notice/bizNotice/countNewNotice',
    method: 'get',
  })
}
// 获取分页
export function getNoticeList(query) {
  return request({
    url: '/api/notice/bizNotice/list',
    method: 'get',
    params: query
  })
}
// 全部已读
export function setAllNoticeRead(data) {
  return request({
    url: '/api/notice/bizNotice/readAll',
    method: 'post',
    data
  })
}